package com.dianjing.dianqun.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dianjing.dianqun.common.base.CrudService;
import com.dianjing.dianqun.dao.dianpai.DianQunUserMapper;
import com.dianjing.dianqun.model.DianQunUser;

/**  
 *  @date  : 2017年10月11日
 *  
 *  @author: baoyongtao 
 *  
 *  @see :  
 *   
 */
@Service
@Transactional
public class DianQunUserService extends CrudService<DianQunUserMapper, DianQunUser>{

	@Autowired
	private DianQunUserMapper dianQunUserMapper;
	
	
	public void update(DianQunUser user) {
		dianQunUserMapper.updateByPrimaryKey(user);
	}

}
